<!DOCTYPE html>
<html>
	<head> 
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>我的广告</title>
		<link rel="stylesheet" href="__TMPL__Public/css/normalize.css" />
		<link rel="stylesheet" href="__TMPL__Public/css/main.css" />
		<link rel="stylesheet" href="__TMPL__Public/css/style.css" />
		<style type="text/css">
			.blocklink{
				display: inline-block;
				width: 60px;
				text-align: center;
				height: 40px;
			}
		</style>
	</head>
	<body>
		<!--<div class="header">
			<a onclick="goBack()" class="left-arrow"><img src="__TMPL__Public/img/arrow-b.png"></a>
			预定记录
		</div>-->
		<div class="linebg">
			<volist name="ad" id="v">
				<span  class="line-i ebb">
				  <if condition="$v.type eq 1">
				    <span onclick="location.href='/HGrid/kindmerchant/id/{$v['id']}';" class="line-before subscribe">#{$v['id']}分类信息</span>
				    <switch name="v['status']">
              <case value="1">
                <span class="line-after">
                  <a class="blocklink" href="/HGrid/kinddmodify/id/{$v['id']}">修改</a>
                </span>
                <span class="line-arrow prim-f">审核中</span></case>
              <case value="2">
                <span class="line-after">
                  <a class="blocklink" href="/HGrid/kinddmodify/id/{$v['id']}">修改</a>
                </span>
                <span class="line-arrow warn-f ordererror">未通过审核？</span></case>
              <case value="3">
                <span class="line-after">
                  <a class="blocklink" href="/HGrid/kinddmodify/id/{$v['id']}">修改</a>
                </span>
                <span class="line-arrow prim-f">进行中</span></case>
              <case value="4">
                <span class="line-arrow">已结束</span></case>
            </switch>
				    <else/>
				    <span onclick="location.href='/HGrid/merchant/id/{$v['id']}';" class="line-before subscribe">#{$v['stand_id']}广告位</span>
  				  <switch name="v['status']">
              <case value="1">
                <span class="line-after">
                  <a class="blocklink" href="/HGrid/gridmodify/id/{$v['st_id']}">修改</a>
                </span>
                <span class="line-arrow prim-f">审核中</span></case>
              <case value="2">
                <span class="line-after">
                  <a class="blocklink" href="/HGrid/gridmodify/id/{$v['st_id']}">修改</a>
                </span>
                <span class="line-arrow warn-f ordererror">未通过审核？</span></case>
              <case value="3">
                <span class="line-after">
                  <a class="blocklink" href="/HGrid/gridmodify/id/{$v['st_id']}">修改</a>
                </span>
                <span class="line-arrow prim-f">进行中</span></case>
              <case value="4">
                <span class="line-arrow">已结束</span></case>
            </switch>
				  </if>
				</span>
			</volist>
			
			<!--<a href="javascript:void(0)" class="line-i ebb">
				<span class="line-before subscribe">4#广告位</span>
				<span class="line-arrow prim-f">进行中</span>
			</a>
			<a href="javascript:void(0)" class="line-i ebb">
				<span class="line-before subscribe">5#广告位</span>
				<span class="line-arrow">已结束</span>
			</a>
			<a href="javascript:void(0)" class="line-i">
				<span class="line-before subscribe">6#广告位</span>
				<span class="line-arrow warn-f">未通过审核？</span>
			</a>-->
		</div>
		<div id="tip" class="dialog">
			<div class="dialogbg">
				<div class="dlg-title">提示</div>
				<div class="dlg-content">抱歉，您所提交链接疑似违规，对应的金钱已返回到您的账户中，若有疑问，请联系客服。</div>
				<button class="dlg-btn">确 定</button>
			</div>
		</div>
	</body>
	<script src="__TMPL__Public/js/main.js?{$version}"></script>
	<script src="__TMPL__Public/js/jquery-1.8.0.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var tip = new dialog();
		tip.init("tip");
		if($(".ordererror").length>0)tip.show();
	</script>
</html>
